package com.meilele.biz.czh;

import com.meilele.dao.czh.ApplicationMapper;
import com.meilele.entity.czh.Application;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ApplicationBiz {
    @Resource
    private ApplicationMapper applicationMapper;
    public List<Application> selectAll(){
        return applicationMapper.selectByPrimaryAll();
    }
    public void save(Application application){
        applicationMapper.insert(application);
    }
}
